package com.project.study.farming.base.entity.dto;

import com.project.study.farming.common.utils.CommonUtil;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 查询审批列表
 * @since 2020-05-03
 */
@Data
public class AuditPageDto {

    private String id;

    private String username;

    private String auditName;

    private String name;

    private Double count;

    private String auditStatus;

    private Integer status;

    private String type;

    private String createTime;

    public void setCreateTime(LocalDateTime createTime){
        this.createTime = CommonUtil.formatLocalDateTime(createTime);
    }
}
